package com.mlnx.device.pojo.dto;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.mlnx.device.enums.DeviceType;
import com.mlnx.device.enums.ECGChannelType;
import com.mlnx.device.enums.ECGDeviceRunMode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by amanda.shan on 2019/10/10.
 */
@Data
@ApiModel("心电设备信息Dto")
public class EcgDeviceDto {

    @ApiModelProperty(value = "id")
    private Integer Id;

    @ApiModelProperty(value = "设备编号")
    private String numeration;

    @ApiModelProperty(value = "设备有效使用期")
    private Date validTime;

    @ApiModelProperty(value = "心电设备模式")
    private ECGDeviceRunMode ecgDeviceRunMode;

    @ApiModelProperty(value = "心电channel类型")
    private ECGChannelType ecgChannelType;

    @ApiModelProperty(value = "心电设备类型")
    @EnumValue
    private DeviceType deviceType;

    @ApiModelProperty(value = "cpuID")
    private String cpuId;

    @ApiModelProperty(value = "病人ID")
    private Integer patientId;

    @ApiModelProperty(value = "是否在线")
    private Integer state;

    @ApiModelProperty(value = "最后一次数据包时间")
    private Date lastPacketTime;

    @ApiModelProperty(value = "创建账号ID")
    private Integer userId;
}
